#ifndef __CAMERA_HELPER_H__
#define __CAMERA_HELPER_H__

class CameraHelper
{
	Camera *eye;
	Entity *cam;

	float mousesent;

	int KeyForward;
	int KeyBackward;
	int KeyLeft;
	int KeyRight;

	int AltKeyForward;
	int AltKeyBackward;
	int AltKeyLeft;
	int AltKeyRight;

	float dx,dy,dz;
	float dax,day,daz;

	float smooth;
	float speed;

	float mox,moy;
public:
	CameraHelper();
	~CameraHelper();

	void Update();
	void SetMouseSentensenty(float s);
	void SetMoveSmooth(float s);		//Set the smooth value for moving
	void SetMoveSpeed(float s);

	void SetKeys(int up,int down,int left,int right);
	void SetAltKeys(int up,int down,int left,int right);

	void RenderInfo(TFont *fnt);
	Camera* GetEye();
	Entity* GetCam();
};

#endif